package com.rdk.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.rdk.dao.TUserRelationMapper;
import com.rdk.entity.TUserRelation;
import com.rdk.service.TUserRelationService;

@Service
public class TUserRelationServiceImpl extends BaseServiceImpl<TUserRelation>  implements TUserRelationService {

	@Autowired
	private TUserRelationMapper userRelationDao;
	
	public int deleteByIdAndPageNo(Map<String, Object> paramMap){
		return userRelationDao.deleteByIdAndPageNo(paramMap);
	}

	@Override
	public void insertBatch(List<TUserRelation> list) {
		userRelationDao.insertBatch(list);
	}
}
